﻿using System.Collections.Generic;
using System.Threading.Tasks;
using Wx.Standard.Model.Send;

namespace Wx.Standard.IService
{
    public interface ISendModelMessage
    {
        #region 发送消息
        /// <summary>
        /// 发送模板消息
        /// </summary>
        /// <param name="msg"></param>
        /// <returns></returns>
        bool ModelMsg(ModelMessage msg);
        /// <summary>
        /// 异步发送模板消息
        /// </summary>
        /// <param name="msg"></param>
        /// <returns></returns>
        Task<bool> ModelMsgAsync(ModelMessage msg);
        #endregion
    }
}
